<template>
  <div class="app-desc-box">
    <h3 class="app-desc-box-title">
      {{ title }}
    </h3>
    <div class="app-desc-box-desc">
      <slot></slot>
    </div>
  </div>
</template>
<script>
export default {
  props: {
    title: {
      type: String,
      default: "标题",
    },
  },
};
</script>
<style lang="scss" scoped>
.app-desc-box {
  margin: 20px;
  padding: 20px;
  background: white;
  &-title {
    font-weight: bold;
    margin: 0;
    margin-bottom: 12px;
  }
  &-desc {
    line-height: 25px;
    color: #666;
  }
  p {
    margin: 0;
  }
}
</style>
